//
//  ViewControllerCenter.swift
//  Photos
//
//  Created by wangqi on 2021/10/20.
//

import UIKit
class ViewControllerCenter {
}
//MARK: Main Photos
extension ViewControllerCenter {
    static func getPhotosListTableViewController() -> PhotosListTableViewController? {
        var result:PhotosListTableViewController? = nil
        guard let viewController = UIStoryboard.init(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "PhotosListTableViewController") as? PhotosListTableViewController else { return result }
        result = viewController
        return result
    }
    static func getPhotoDetailViewController() -> PhotoDetailViewController? {
        var result:PhotoDetailViewController? = nil
        guard let viewController = UIStoryboard.init(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "PhotoDetailViewController") as? PhotoDetailViewController else { return result }
        result = viewController
        return result
    }
}
